package com.ruoyi.production.mapper.blade;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.blade.BladeApply;

/**
 * 刀片申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface BladeApplyMapper
{
    /**
     * 查询刀片申请
     *
     * @param bladeApplyId 刀片申请ID
     * @return 刀片申请
     */
    public BladeApply selectBladeApplyById(Long bladeApplyId);

    /**
     * 查询刀片申请列表
     *
     * @param bladeApply 刀片申请
     * @return 刀片申请集合
     */
    public List<BladeApply> selectBladeApplyList(BladeApply bladeApply);

    /**
     * 新增刀片申请
     *
     * @param bladeApply 刀片申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertBladeApply(BladeApply bladeApply);

    /**
     * 修改刀片申请
     *
     * @param bladeApply 刀片申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updateBladeApply(BladeApply bladeApply);

    /**
     * 删除刀片申请
     *
     * @param bladeApplyId 刀片申请ID
     * @return 结果
     */
    public int deleteBladeApplyById(Long bladeApplyId);

    /**
     * 批量删除刀片申请
     *
     * @param bladeApplyIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteBladeApplyByIds(Long[] bladeApplyIds);
}
